package cn.monkey.state.core;

import java.util.List;

public interface Queue<E> {
    boolean offer(E e);

    E poll();

    List<E> poll(int n);
}
